package com.example.gybicycle.common.enums;


import io.swagger.v3.oas.annotations.media.Schema;

public enum NumType {
    USER(1,"用户","USER"),
    ROLE(2,"角色","ROLE"),
    BIKE(3,"自行车","BIKE"),
    LOCK(4,"锁","LOCK"),
    POINT(5,"停车点","POINT"),
    MEMBER(6,"会员","MEMBER"),
    DEPOSIT(7,"押金","DEPOSIT"),
    ORDER(8,"订单","ORDER"),
    INSURE(9,"保单","INSURE"),
    PAY(10,"付款记录","PAY"),
    REPAIR(11,"报修","REPAIR"),
    ACTIVE(12,"活动","ACTIVE"),
    ;

    private  Integer value;

    private  String key;
    private  String caption;

    NumType(int value, String caption, String key) {
        this.value=value;
        this.caption=caption;
        this.key=key;
    }
    public Integer getValue(){
        return value;
    }
    public String getKey(){
        return key;
    }
    public String getCaption(){
        return caption;
    }
}
